package org.cheniy.domain.activity.service.quota.rule;

import org.cheniy.domain.activity.model.entity.ActivityCountEntity;
import org.cheniy.domain.activity.model.entity.ActivityEntity;
import org.cheniy.domain.activity.model.entity.ActivitySkuEntity;

/**
 * @author cheniy
 * @description 下单规则过滤接口
 * @create 2025/3/17 13:33
 */
public interface IActionChain extends IActionChainArmory {

    /**
     * 责任链验证sku对应库存和活动状态
     * @param activitySkuEntity
     * @param activityEntity
     * @param activityCountEntity
     * @return
     */
    boolean action(ActivitySkuEntity activitySkuEntity, ActivityEntity activityEntity, ActivityCountEntity activityCountEntity);

}
